<template>
  <div class="teacher">
    this is teacher page
    <div>
      <el-button type="success" round @click="add()">Success</el-button>
    </div>
    <div>
      {{ count }}
    </div>
  </div>
</template>

<script>
export default {
  name: 'Teacher',
  data() {
    return {
      count: 0,
      message: 'this is teacher page',
    }
  },
  methods: {
    add() {
      this.count++
    },
  },
}
</script>

<style scoped>
.teacher {
  /* background-color: yellowgreen; */
  width: 100%;
  height: 500px;
  border: 2px solid red;
}
</style>
